package demo3;

public class Animal {
    //public Animal() {}
    String name = "动物";
    public void eat() {
        System.out.println("eat");
    }
    public void sleep() {
        System.out.println("sleep");
    }
    public void show() {
        System.out.println("动物show方法");
    }

}
